﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="TreaShares.Login.Login"
    MasterPageFile="~/Login/Login.Master" %>
<asp:Content ID="head1" runat="server" ContentPlaceHolderID="Head">
</asp:Content>
<asp:Content ID="ContentPlaceHolder11" runat="server" ContentPlaceHolderID="ContentPlaceHolder1">

    <table border="0" cellpadding="2" style="vertical-align: top; width: 100%">
        <tr>
            <td class="Header" colspan="2" align=left>
                LOG IN
            </td>
        </tr>
        <tr>
        <td>User Name</td>
            <td>
            
                <asp:TextBox runat="server" ID="UserName" Font-Size="25px"  Width="100%"/>
                <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                    ErrorMessage="User Name is required." ToolTip="User Name is required." ValidationGroup="Login2"
                    Display="Dynamic">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
        <td>Password</td>
            <td>
                <asp:TextBox runat="server" ID="Password" Font-Size="25px" TextMode="Password" Width="100%"/>
                <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                    ErrorMessage="Password is required." ToolTip="Password is required." ValidationGroup="Login2"
                    Display="Dynamic">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td colspan="2" align=left>
                <asp:CheckBox ID="RememberMe" runat="server" Checked="True" Text="Remember me next time." />
            </td>
        </tr>
        <tr>
            <td align="center" style="color: Red;" colspan="2">
                <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
            </td>
        </tr>
        <tr>
            <td align="right" colspan="2">
                <asp:Button ID="LoginButton" runat="server" BackColor="White" BorderColor="#507CD1"
                    BorderStyle="Solid" BorderWidth="1px" CommandName="Login" Font-Names="Verdana"
                    Font-Size="0.8em" ForeColor="#284E98" Text="Log In" 
                    ValidationGroup="Login2" onclick="LoginButton_Click" />
            </td>
        </tr>
        <tr>
            <td colspan="2" align="left">
                <asp:HyperLink ID="PasswordRecoveryLink" runat="server" CssClass="link" href="PasswordRecover">Recover your password</asp:HyperLink>
            </td>
        </tr>
    </table>
</asp:Content>
